/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.servicoimpl;

import br.com.deployment.daogenerico.DaoGenerico;
import br.com.deployment.entidade.registroimovel.GeoRef;
import br.com.deployment.interfaces.MapDaoIn;
import br.com.deployment.servico.MapServico;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.LocalBean;
import javax.ejb.Stateless;

/**
 *
 * @author roniere
 */
@Stateless
@LocalBean
public class MapServicoImpl implements MapServico{

    @EJB
    MapDaoIn mapDao;
    
    @Override
    public List<GeoRef> mapAll() {
        return mapDao.findAll();
    }
    
    @Override
    public List<GeoRef> getGeoRef(Class classe, int id){
        return mapDao.getGeoRef(classe, id);
    }
    
}
